/*
 * 
 * v1.2 by tonydon
 */
package cn.txdnet.txweb.annotation.validation;

import java.lang.annotation.*;

/**
 * 使用正则判断
 * @author txdnet
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Match {
    RegexType value();
     enum RegexType{
        TITLE,
        EMAIL,
        TEL,
        NICK;
     };
}
